import { Key } from './interface'

export function keys(key: Key | Key[]) {
  if (Array.isArray(key)) {
    return key
  }
  return [key]
}
